Skip to content

fix(cram): honor --force for cached test output - #16237

Open
rgrinberg wants to merge 2 commits into
ocaml:mainfrom
rgrinberg:push-wprtrkorkkwq
Open

fix(cram): honor --force for cached test output#16237
rgrinberg wants to merge 2 commits into
ocaml:mainfrom
rgrinberg:push-wprtrkorkkwq

Conversation

@rgrinberg

@rgrinberg rgrinberg commented Aug 28, 2026

Copy link
Copy Markdown
Member

Expose captured stdout as a digest-tracked anonymous build target, then use that target for cached cram results instead of materializing cram.out. The correction action reads the versioned CRAM-RESULT only when it executes, preserving cheap null builds while allowing dune runtest --force to rerun cram tests as requested.

@rgrinberg
rgrinberg force-pushed the push-wprtrkorkkwq branch 5 times, most recently from b641087 to 0897d6e Compare August 28, 2026 21:43
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant